package com.taldh.unkown;

/**
 * date 2020/6/7
 *
 * @author 袁小黑
 * @version 1.0.0
 **/

public class Constructor {

    String o;

    Constructor() {
        System.out.println(this);
    }

    static class Test extends Constructor{
        Test() {
            System.out.println(this);
        }
    }

    static class Test2 extends Test {
        Test2() {
            System.out.println(this);
        }
    }

    public static void main(String[] args) {
        System.out.println(new Constructor());
        System.out.println(new Test());
        System.out.println(new Test2());
    }
}
